package entity.form;

import java.util.List;
import java.util.Date;

public class Form {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	private Integer id;

	/**
	 * 表单名称
	 */
	private String name;

	/**
	 * 标记
	 */
	private String code;

	/**
	 * 状态 0未启用 1已启用 2已作废
	 */
	private Integer status;

	/**
	 * 激活类型 1立即 2定时
	 */
	private Integer activationType;

	/**
	 * 激活时间
	 */
	private Date activationTime;

	/**
	 * 创建者
	 */
	private Integer creator;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 修改者
	 */
	private Integer operator;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 是否删除 0：没有删除 1：删除了
	 */
	private Integer deleted;

	/**
	 * 版本号
	 */
	private Integer version;

	public void setId(Integer id) { 
		this.id = id;
	}
	
	public Integer getId() { 
		return id;
	}

	public void setName(String name) { 
		this.name = name;
	}
	
	public String getName() { 
		return name;
	}

	public void setCode(String code) { 
		this.code = code;
	}
	
	public String getCode() { 
		return code;
	}

	public void setStatus(Integer status) { 
		this.status = status;
	}
	
	public Integer getStatus() { 
		return status;
	}

	public void setActivationType(Integer activationType) { 
		this.activationType = activationType;
	}
	
	public Integer getActivationType() { 
		return activationType;
	}

	public void setActivationTime(Date activationTime) { 
		this.activationTime = activationTime;
	}
	
	public Date getActivationTime() { 
		return activationTime;
	}

	public void setCreator(Integer creator) { 
		this.creator = creator;
	}
	
	public Integer getCreator() { 
		return creator;
	}

	public void setCreateTime(Date createTime) { 
		this.createTime = createTime;
	}
	
	public Date getCreateTime() { 
		return createTime;
	}

	public void setOperator(Integer operator) { 
		this.operator = operator;
	}
	
	public Integer getOperator() { 
		return operator;
	}

	public void setUpdateTime(Date updateTime) { 
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime() { 
		return updateTime;
	}

	public void setDeleted(Integer deleted) { 
		this.deleted = deleted;
	}
	
	public Integer getDeleted() { 
		return deleted;
	}

	public void setVersion(Integer version) { 
		this.version = version;
	}
	
	public Integer getVersion() { 
		return version;
	}

	@Override
	public String toString() {
		return "FormEntity {" +
			"id = " + id + 
			", name = " + name + 
			", code = " + code + 
			", status = " + status + 
			", activationType = " + activationType + 
			", activationTime = " + activationTime + 
			", creator = " + creator + 
			", createTime = " + createTime + 
			", operator = " + operator + 
			", updateTime = " + updateTime + 
			", deleted = " + deleted + 
			", version = " + version + 
			"} " + super.toString();
	}
}
